package com.lwx.bus.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cn.lwx
 * @since 2020-04-21
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "bus_provider")
@TableName("bus_provider")
public class Provider implements Serializable {

    private static final long serialVersionUID=1L;
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    @Column(name = "ID")
    private Integer id;

    @Column(name = "PROVIDERNAME")
    private String providername;

    @Column(name = "ZIP")
    private String zip;

    @Column(name = "ADDRESS")
    private String address;

    @Column(name = "TELEPHONE")
    private String telephone;

    @Column(name = "CONNECTIONPERSON")
    private String connectionperson;

    @Column(name = "PHONE")
    private String phone;

    @Column(name = "BANK")
    private String bank;

    @Column(name = "ACCOUNT")
    private String account;

    @Column(name = "EMAIL")
    private String email;

    @Column(name = "FAX")
    private String fax;

    @Column(name = "AVAILABLE")
    private Integer available;


}
